import type {DesktopInterface} from "@/typings/desktop";

/**
 * 系统全部应用程序声明定义
 */
export const allAppShortcutList = <DesktopInterface.AppShortcut[]>[
  {
    key: "system_about",
    component: "about",
    icon: "icons/icon/plan3/Magnet.png",
    title: "关于本站",
    iconBgColor: "#fff",
    titleBgColor: "#efda70",
    titleColor: "#fff",
    width: 500,
    height: 450,
    isDisableResize: false,
    isInDock: false,
    isInLaunchpad: true,
    isInDeskTop: true,
    linkType: "in",
    sort: 1,
    navMenu: [
      {
        key: "about",
        label: "关于",
        children: [
          {
            key: "close",
            label: "关闭",
          },
        ],
      },
      {
        key: "help",
        label: "帮助",
        children: [
          {
            key: "send",
            label: "发送反馈",
          },
        ],
      },
    ],
  },
  {
    key: "system_finder",
    component: "SystemFinder",
    icon: "icons/icon/plan3/Finder.png",
    title: "访达",
    iconBgColor: "#fff",
    titleColor: "#fff",
    width: 800,
    height: 600,
    isDisableResize: false,
    isInDock: true,
    isInLaunchpad: true,
    isInDeskTop: false,
    linkType: "in",
    isRunning: false,
    sort: 2,
    navMenu: [
      {
        key: "finder",
        label: "访达",
        children: [
          {
            key: "about",
            label: "关于 访达",
          },
          {
            type: "divider",
            key: "d1",
          },
          {
            key: "setting",
            label: "首选项",
          },
          {
            type: "divider",
            key: "d2",
          },
          {
            key: "close",
            label: "退出 访达",
          },
        ],
      },
      {
        key: "window",
        label: "窗口",
        children: [
          {
            key: "min",
            label: "最小化",
          },
          {
            key: "max",
            label: "最大化",
          },
        ],
      },
      {
        key: "help",
        label: "帮助",
        children: [
          {
            key: "send",
            label: "发送反馈",
          },
        ],
      },
    ],
  },
  {
    key: "system_launchpad",
    component: "SystemLaunchPad",
    icon: "icons/icon/plan3/launchpad.png",
    title: "启动台",
    iconBgColor: "#fff",
    isInDock: true,
    isInLaunchpad: false,
    isInDeskTop: false,
    linkType: "in",
    sort: 3,
  },
  {
    key: "system_setting",
    component: "SystemSetting",
    icon: "icons/icon/plan3/SystemPreferences.png",
    title: "系统偏好设置",
    iconBgColor: "#fff",
    titleColor: "#fff",
    width: 800,
    height: 600,
    isDisableResize: false,
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    linkType: "in",
    sort: 4,
    navMenu: [
      {
        key: "setting",
        label: "系统偏好设置",
        children: [
          {
            key: "close",
            label: "关闭",
          },
        ],
      },
      {
        key: "help",
        label: "帮助",
        children: [
          {
            key: "send",
            label: "发送反馈",
          },
        ],
      },
    ],
  },
  {
    key: "demo_demo",
    component: "demo",
    icon: "icons/icon/plan1/dana.png",
    title: "DEMO",
    iconBgColor: "#fff",
    width: 600,
    height: 400,
    isDisableResize: false,
    isInDock: false,
    isInDeskTop: true,
    isInLaunchpad: true,
    isRunning: false,
    sort: 5,
  },
  {
    key: "demo_gitee",
    icon: "icons/icon/plan1/dribbble.png",
    component: "defaultComponentName",
    title: "Gitee仓库",
    iconBgColor: "#fff",
    linkType: "out",
    link: "https://gitee.com/shareloke/macos-web-tsx-project",
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    isRunning: false,
    isLink: true,
    sort: 6,
  },
  {
    key: "demo_dy",
    component: "demoWeb",
    icon: "icons/icon/plan1/firefox.png",
    title: "抖音去水印",
    iconBgColor: "#fff",
    titleColor: "#fff",
    width: 600,
    height: 600,
    isLink: true,
    linkType: "in",
    link: "https://dy.hamm.cn/",
    isDisableResize: false,
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    isRunning: false,
    sort: 7,
  },
  {
    key: "demo_unresize",
    component: "demoUnResize",
    icon: "icons/icon/plan1/fx.png",
    title: "固定尺寸应用",
    iconBgColor: "#fff",
    titleColor: "#fff",
    width: 600,
    height: 400,
    isDisableResize: true,
    isTop: false,
    isHide: true,
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    linkType: "in",
    isLink: false,
    isRunning: false,
    sort: 8,
  },
  {
    key: "demo_colorfull",
    component: "demoColorFull",
    icon: "icons/icon/plan1/gojek.png",
    title: "花里胡哨",
    iconBgColor: "#fff",
    width: 420,
    height: 310,
    titleBgColor: "#ff4500",
    titleColor: "#fff",
    isDisableResize: false,
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    linkType: "in",
    isLink: false,
    isRunning: false,
    sort: 9,
  },
  {
    key: "demo_generate_shortcut",
    component: "generateShortcut",
    icon: "icons/icon/plan1/gojek.png",
    title: "生成快捷方式",
    iconBgColor: "#fff",
    width: 1000,
    height: 600,
    titleBgColor: "#ff4500",
    titleColor: "#fff",
    isDisableResize: false,
    isInDock: true,
    isInDeskTop: true,
    isInLaunchpad: true,
    isLink: false,
    linkType: "in",
    sort: 10,
  },
];
